package com.wzitech.hn658.test;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.data.redis.core.ZSetOperations;
import org.springframework.stereotype.Repository;

import com.hn658.framework.dataaccess.redis.AbstractRedisDAO;


@Repository("zsetdao")
public class ZSetDao extends AbstractRedisDAO<MyEntity> {

	@Autowired
	@Qualifier("redisTemplate")
	@Override
	public void setTemplate(StringRedisTemplate template) {
		super.template = template;
	}
	
	public ZSetOperations<String, String> getSet(){
		return zSetOps;
	}
	
}
